package com.zboin.filemger.service;

import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author zhboom
 * @date 2025/7/10 22:38
 */
public interface FileManageService {

    ResponseEntity<String> uploadChunk(
            MultipartFile file,
            int chunkIndex,
            String fileMd5,
            String fileName
    );

    ResponseEntity<String> mergeChunks(String fileMd5, String fileName);

    ResponseEntity<List<Integer>> uploadStatus(String fileMd5);
}
